<?php
/**
 * Created by PhpStorm.
 * User: LiuJiaJun
 * Date: 2019/1/12
 * Time: 0:25
 */

namespace api\storage\service\inventory;

use api\storage\model\ReelsModel;

/**
 * 没有灯物料盘点
 *
 * Class BlackMaterielInventoryService
 * @package api\storage\service\inventory
 */
class BlackMaterielInventoryService extends BaseMaterielInventoryService
{
    private $isWhite = false;

    protected function isWhite()
    {
        return $this->isWhite;
    }

    protected function getReels($code, $storageUuid)
    {
        $reelsModel = new ReelsModel();
        $reels = $reelsModel->queryByMaterielId($code, $storageUuid)->toArray();
        return [
            'reels' => $reels,
            'seatId' => [],
        ];
    }
}